package com.gdk.auth.domain.convert;

import com.gdk.auth.domain.entity.AuthPermissionBO;
import com.gdk.auth.infra.basic.entity.AuthPermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 权限bo转换器
 *
 * @author Gudong~
 * @create 2024-10-21 16:01
 */

@Mapper
public interface AuthPermissionBOConverter {

    AuthPermissionBOConverter INSTANCE = Mappers.getMapper(AuthPermissionBOConverter.class);

    AuthPermission convertBoToEntity(AuthPermissionBO authPermissionBO);

}
